import java.util.Scanner;
public class Demo {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数");
        int math = input.nextInt();
        if (math % 2 == 0) {
            System.out.println("你输入的是偶数");
        } else {
            System.out.println("你输入的是奇数");
        }
    }
}
